<cfcomponent>
	<cffunction name="GetAllUsers" output="false" access="remote">
		<cfargument name="id" required="true" />
		<cfset var catOrg = "" />
		<cfset var allCatOrgs = "" />
		<cfset var qRead = "" />
		
		<cfquery username="#request.username#" password="#request.password#" name="qRead" datasource="nwharvest">
			select 	ID, TYPE
			from dbo.CAT-ORGS
		</cfquery>

		<cfloop query="qRead">
			<cfscript>
				OrgCats = createObject("component", "CatOrgsDAO").read(qRead.ID);
				ArrayAppend(allCatOrgs, catOrg);
			</cfscript>
		</cfloop>
		
		<cfreturn allCatOrgs>
	</cffunction>		  
</cfcomponent>